/*
 * table_FunctionStorage.h
 *
 *  Created on: 2012/08/10
 *      Author: guanxiaoying
 */

#ifndef TABLE_FUNCTIONSTORAGE_H_
#define TABLE_FUNCTIONSTORAGE_H_

typedef struct {
	BOOL (*clear)( VOID );
	BOOL (*reset)( VOID );
	BOOL (*alloc)( AST );
	BOOL (*copy)( AST, AST, AST );
	AST  (*getMax)( VOID );
//	USHORT_SYMCLASS
	ACCESS_U2_FIELD  symClass;
	ACCESS_BOOL_FIELD bDelete;
//	IDX_GBLLINKAGE
	ACCESS_IDX_FIELD  linkage;
//	IDX_TYPEDEFINFO
	ACCESS_IDX_FIELD  type;
//	IDX_SYMNAME
//	STR_SYMNAME
	ACCESS_STR_FIELD  name;
//	IDX_FUNCBODY
	ACCESS_IDX_FIELD  functionEntry;
//	IDX_FUNCBODY
	ACCESS_IDX_FIELD  functionExit;
//	IDX_LOCATION
	ACCESS_IDX_FIELD  codeScp;
	ACCESS_IDX_FIELD  connect;
}FUNCTIONIDSTORAGE_ACCESS;
extern const FUNCTIONIDSTORAGE_ACCESS stFunctionStorageAccess;

#endif /* TABLE_FUNCTIONSTORAGE_H_ */
